#include<bits/stdc++.h>
using namespace std;
const int N=15;
int n;
int a[N];
int main()
{
	freopen("duel.in","r",stdin);
	freopen("duel.out","w",stdout);
	scanf("%d",&n);
	for(int i=1;i<=n;i++)
		scanf("%d",&a[i]);
	cout<<0;
	return 0;
}
